import request from '@/utils/request'

// 查询轮次设计师关联列表
export function listRoundDesigner(query) {
  return request({
    url: '/biz/roundDesigner/list',
    method: 'get',
    params: query
  })
}

// 查询轮次设计师关联详细
export function getRoundDesigner(id) {
  return request({
    url: '/biz/roundDesigner/' + id,
    method: 'get'
  })
}

// 新增轮次设计师关联
export function addRoundDesigner(data) {
  return request({
    url: '/biz/roundDesigner',
    method: 'post',
    data: data
  })
}

// 修改轮次设计师关联
export function updateRoundDesigner(data) {
  return request({
    url: '/biz/roundDesigner',
    method: 'put',
    data: data
  })
}

// 删除轮次设计师关联
export function delRoundDesigner(id) {
  return request({
    url: '/biz/roundDesigner/' + id,
    method: 'delete'
  })
}
